<?php


namespace app\api\controller;


use app\BaseController;
use think\middleware\AllowCrossDomain;

class Test extends BaseController
{
    protected $middleware=[AllowCrossDomain::class];
    public function index()
    {
        return $this->msg(1);
    }


}